It is a data structure consisting of a collection of nodes which together represent a sequence
Singly linked list : refers to the number of references the node has. (there is only one reference)
Doubly linked list : refers to there being two refernces within the node.(there is a reference to the next and previous node)
Big O notation is a way to express the amount of time that a function, action, or algorithm takes to run based on how many elements we pass to that function.
Type of Big O in linked list :
An O(1) function takes constant time ,which is to say that it doesn’t matter how many elements we have, or how huge our input is.it always take the same amount of time and memory to run our algorithm.
An O(n) function , the space and time that we need to run that algorithm grows linearly.